package com.hxzy.boot.controller;

import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzm
 * @create 2023-09-25 11:51
 * project_name:javaweb2308
 */
@RestController
public class UserController {
    //service对象调用方法
    //必须依靠于service对象执行方法 一旦业务对象发生变化全部要改
    //@Autowired  //从SpringIOC容器中获取该类型的对象，赋值给变量
 /*   private UserService userService;

    //查询全部数据
    @RequestMapping("/user/list")
    public Result getAll(){
        return Result.success(userService.findAll());
    }
*/
}


